package com.hgd.security.evp.common.util;

/**
 * @author 尚村山夫
 *
 */
public class ObjectResultResponse<T> {
	private String message;
	private int status = 200;
	private T data;
	
	
	
	public ObjectResultResponse(String message, T data) {
		super();
		this.message = message;
		this.data = data;
	}
	public ObjectResultResponse() {
		super();
	}
	public ObjectResultResponse(T data) {
		super();
		this.data = data;
	}
	public ObjectResultResponse(String message, Integer status, T data) {
		super();
		this.message = message;
		this.status = status;
		this.data = data;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}
}
